package com.yuhuihui.common.annotation.mvc;

import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Controller;

import java.lang.annotation.*;

/**
 * 简单的RestController注解
 *
 * @author yuhh
 * @date 2023-05-25 14:50:51
 * @see Annotation
 */
@Controller
@SimpleResponseBody
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface SimpleRestController {

    @AliasFor(annotation = Controller.class)
    String value() default "";
}
